#include <stdio.h>

int main()
{
	int i, j, x = 0;
	for (i = 0; i < 2; i++)
	{
		x++;
		//printf("x1=%d\n", x);
		for (j = 0; j <= 3; j++)
		{
			if (j % 2)
				continue;
				//printf("x2=%d\n", x);
			x++;	}
		//printf("x3=%d\n", x);
		x++;	}
	printf("x=%d\n", x);
	return 0;
}